package com.wangzhiwen.pilipili.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wangzhiwen.pilipili.enums.ReturnCodeEnum;
import com.wangzhiwen.pilipili.utils.PageUtils;
import com.wangzhiwen.pilipili.entity.WebSettingEntity;

import java.util.Map;

public interface WebSettingService extends IService<WebSettingEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 获取最新的web设置
     *
     * @return 设置
     */
    WebSettingEntity getNewSetting();


    ReturnCodeEnum saveSetting(WebSettingEntity webSettingEntity);
}

